package dao

import "time"

type Module struct {
	ID         uint `gorm:"primary_key;auto_increment;not null" json:"id"`
	Name       string
	AppId      uint
	CreateTime time.Time `gorm:"create_time" json:"createTime"`
	UpdateTime time.Time `gorm:"update_time" json:"updateTime"`
}

func (c Module) TableName() string {
	return "module"
}
